﻿<UserControl x:Class="Outcoder.Calcium.DiagramDesigner.DiagramDesignerToolBar"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Commands="clr-namespace:Outcoder.Calcium.DiagramDesigner.Commands"
    Height="300" Width="300">
    <Grid x:Name="LayoutRoot">
		<ToolBar Height="26" Name="toolBar_Main">
			<ToolBar.Background>
				<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
					<GradientStop Color="#FFFFFFFF" Offset="0"/>
					<GradientStop Color="#FFFFFBFF" Offset="0.5"/>
					<GradientStop Color="#FFBECEE0" Offset="1"/>
				</LinearGradientBrush>
			</ToolBar.Background>
			
			<Button x:Name="Button_AddItem"
					Command="{x:Static Commands:DiagramDesignerCommands.AddDesignerItemCommand}"
					ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Command.Text}"
					Width="18" Height="18">
				<Canvas Width="15" Height="15" HorizontalAlignment="Center" VerticalAlignment="Center">
					<Rectangle Fill="#FFDE6B25" Stroke="{x:Null}" Width="10.874" Height="1.688" Canvas.Left="2.126" Canvas.Top="7.001" RadiusX="0.875" RadiusY="0.844"/>
					<Rectangle Fill="#FFDE6B25" Stroke="{x:Null}" Width="1.689" Height="10.874" Canvas.Left="6.625" Canvas.Top="2.439" RadiusX="0.875" RadiusY="0.844"/>
				</Canvas>
			</Button>

			<Button x:Name="Button_AlignLeft"
					Command="{x:Static Commands:DiagramDesignerCommands.AlignLeftCommand}" 
					ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Command.Text}"
					Width="18" Height="18">
				<Canvas Width="15" Height="15" HorizontalAlignment="Center" VerticalAlignment="Center">
					<Rectangle Fill="#FF6AB3C3" Stroke="{x:Null}" Width="8" Height="4" Canvas.Left="4.501" Canvas.Top="3"/>
					<Rectangle Fill="#FF6AB3C3" Stroke="{x:Null}" Width="6" Height="4" Canvas.Left="4.501" Canvas.Top="9"/>
					<Rectangle Fill="#FF6AB3C3" Stroke="{x:Null}" Width="1" Height="10" Canvas.Left="3" Canvas.Top="3"/>
				</Canvas>
			</Button>

			<!--<Button x:Name="Button_AlignRight"
					Command="{x:Static Commands:DiagramDesignerCommands.AddDesignerItemCommand}" 
					Width="18" Height="18">
				<Canvas Width="15" Height="15" HorizontalAlignment="Center" VerticalAlignment="Center">
					<Rectangle Fill="#FFDE6B25" Stroke="{x:Null}" Width="10.874" Height="1.688" Canvas.Left="2.126" Canvas.Top="7.001" RadiusX="0.875" RadiusY="0.844"/>
					<Rectangle Fill="#FFDE6B25" Stroke="{x:Null}" Width="1.689" Height="10.874" Canvas.Left="6.625" Canvas.Top="2.439" RadiusX="0.875" RadiusY="0.844"/>
				</Canvas>
			</Button>

			<Button x:Name="Button_AlignTop"
					Command="{x:Static Commands:DiagramDesignerCommands.AddDesignerItemCommand}" 
					Width="18" Height="18">
				<Canvas Width="15" Height="15" HorizontalAlignment="Center" VerticalAlignment="Center">
					<Rectangle Fill="#FFDE6B25" Stroke="{x:Null}" Width="10.874" Height="1.688" Canvas.Left="2.126" Canvas.Top="7.001" RadiusX="0.875" RadiusY="0.844"/>
					<Rectangle Fill="#FFDE6B25" Stroke="{x:Null}" Width="1.689" Height="10.874" Canvas.Left="6.625" Canvas.Top="2.439" RadiusX="0.875" RadiusY="0.844"/>
				</Canvas>
			</Button>

			<Button x:Name="Button_AlightBottom"
					Command="{x:Static Commands:DiagramDesignerCommands.AddDesignerItemCommand}" 
					Width="18" Height="18">
				<Canvas Width="15" Height="15" HorizontalAlignment="Center" VerticalAlignment="Center">
					<Rectangle Fill="#FFDE6B25" Stroke="{x:Null}" Width="10.874" Height="1.688" Canvas.Left="2.126" Canvas.Top="7.001" RadiusX="0.875" RadiusY="0.844"/>
					<Rectangle Fill="#FFDE6B25" Stroke="{x:Null}" Width="1.689" Height="10.874" Canvas.Left="6.625" Canvas.Top="2.439" RadiusX="0.875" RadiusY="0.844"/>
				</Canvas>
			</Button>-->
		</ToolBar>
	</Grid>
</UserControl>
